function judge(arr){
    return arr.map(item => typeof item === "string" ? "string" : "new String()")
}

console.log(judge([1,new String(1),'3']))
